<template>
    <view class="nodata">
        <image
          class="icon"
          src="@/static/img/img_default_commodity_lucencybg.png"
        ></image>
        <view class="title">请通过分类或扫码添加商品～</view>
    </view>
  </template>
  
  <script>
  export default {
    props: {
      title: {
        type: String,
        default: "请通过分类或扫码添加商品～",
      }
    },
    data() {
      return {};
    },
    methods: {
      returnfunclick(item) {
        this.$emit("callback", item);
      },
    },
  };
  </script>
  
  <style scoped lang="scss">
    .nodata{
        background: #fff;
        padding-bottom: 40rpx;
        image{
            width: 300rpx;
            height: 300rpx;
            display: block;
            margin: auto;
        }
        .title{
            text-align: center;
            width: 100%;
            font-size: 24rpx;
            font-family: PingFang SC, PingFang SC-Regular;
            font-weight: Regular;
            text-align: center;
            color: #999999;
            line-height: 34rpx;
            margin-top: 20rpx;
        }
    }
  </style>
  